package cn.itsource.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 📖：beishan
 * 🗓️：2024/4/10 18:28
 * =====================
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RuleStartDto {
    //代驾开始时间
    @NotNull(message = "代驾开始时间为空")
    private Date startDate;
    //代驾结束总里程数
    @NotNull(message = "代驾总里程数为空")
    private BigDecimal mileage;

}
